package cn.iocoder.yudao.module.system.api.message.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@ApiModel("管理后台 - 站内信主题创建 Request DTO")
@Data
@ToString(callSuper = true)
public class MessageCreateReqDTO{

    @ApiModelProperty(value = "标题", required = true)
    @NotNull(message = "标题不能为空")
    private String title;

    @ApiModelProperty(value = "消息类型", required = true)
    @NotNull(message = "消息类型不能为空")
    private Long type;

    @ApiModelProperty(value = "状态")
    private String status;

    @ApiModelProperty(value = "学生id")
    private Long studentId;

    @ApiModelProperty(value = "是否学生留言(1:是,0:否)")
    private Integer leaveType;

    @ApiModelProperty(value = "企业/运营ID")
    private Long userId;

    @ApiModelProperty(value = "联系人电话" , required = true)
    @NotNull(message = "消息类型不能为空")
    private String phone;
    @ApiModelProperty(value = "联系人名称" , required = true)
    @NotNull(message = "消息类型不能为空")
    private String studentName;

    private String fileUrl;

    @ApiModelProperty(value = "消息")
    private String remark;
}
